package com.wooophone.buyi.biz.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.wooophone.buyi.bean.EmailValidation;
import com.wooophone.buyi.biz.EmailValidationBiz;
import com.wooophone.buyi.dao.EmailValidationDao;

public class EmailValidationBizImpl implements EmailValidationBiz {
	
	@Autowired
	EmailValidationDao emailValidationDao;
	public void setEmailValidationDao(EmailValidationDao emailValidationDao) {
		this.emailValidationDao = emailValidationDao;
	}

	@Override
	public EmailValidation get(String id) {
		return emailValidationDao.get(id);
	}

	@Override
	public void delete(String id) {
		emailValidationDao.delete(id);
	}

	@Override
	public void save(EmailValidation emailValidation) {
		emailValidationDao.save(emailValidation);
	}
}
